package dao;

import pojo.Plan;

import java.sql.SQLException;
import java.util.List;

public interface PlanDao {
    public int saveplan(Plan plan) throws SQLException;
    public List<Plan> getAllPlan(String uid) throws SQLException;
    public Plan getOnePlan(String time) throws SQLException;
    public Plan getLatestPlan() throws SQLException;
}
